CPPFLAGS := -g -Werror -Wall -O3
LDFLAGS := -libverbs -lmemcached -pthread

inc := utils.hpp role.hpp memtool.hpp
src := main.cpp

.PHONY: clean all

main: $(src) $(inc)
	g++ -o $@ $^ $(LDFLAGS) $(CPPFLAGS)

clean:
	rm -rf *.o main
